
/**
 * 图片视图的数据格式
 * @param {Number} id id
 * @param {String} url 链接
 * @returns 图片视图的Object
 */
export class ImageViewModel {
  constructor({ id, url }) {
    this.id = id
    this.url = url
  }
}


export class VideoViewModel {
  constructor({ id, url }) {
    this.id = id
    this.url = url
  }
}
